package xyz.kail.demo.easyrules.hello.annotation;

import org.jeasy.rules.api.Facts;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.api.RuleListener;

public class HelloListener implements RuleListener {

    @Override
    public void afterEvaluate(Rule rule, Facts facts, boolean evaluationResult) {
        System.out.println("HelloListener.afterEvaluate");
        System.out.println("    rule：" + rule);
        System.out.println("    facts:" + facts);
        System.out.println("    evaluationResult:" + evaluationResult);
    }
}
